<ion-view>
    <ion-header-bar align-title="center" class="bar-positive">
        <a class="button icon-left ion-chevron-left button-clear" ng-click="goBack()">返回</a>
        <div class="h1 title">我的资料</div>
        <a class="button icon-right ion-checkmark button-clear" ng-click="save()">保存</a>
    </ion-header-bar>
    <ion-content class="padding">
        <div class="list">
            <a class="item item-thumbnail-left" href="#">
                <img src="/employ/assets/img/avatar.gif">
                <button class="button button-outline button-positive">
                    更改头像
                </button>
            </a>
            <label class="item item-input">
                <span class="input-label">姓名</span>
                <input type="text" ng-model="publicData.userInfo.name">
            </label>
            <label class="item item-input item-select">
                <div class="input-label">
                    性别
                </div>
                <select ng-model="publicData.userInfo.sex" ng-options="value for value in ['男', '女']"></select>
            </label>
            <label class="item item-input">
                <span class="input-label">出生年份</span>
                <ionic-datepicker date="birth" callback="cb">
                    <button class="button button-block button-clear button-small button-positive"> {{ birth | date:'yyyy/MM/dd' }} </button>
                </ionic-datepicker>
            </label>
<!--             <label class="item item-input">
                <span class="input-label">出生年份</span>
                <input type="date" ng-model="birth">
            </label> -->
            <label class="item item-input item-select">
                <div class="input-label">
                    求职区域
                </div>
                <select ng-model="publicData.userInfo.work_area" ng-options="value for value in ['蓬江', '江海', '新会', '恩平', '台山', '开平', '鹤山']"></select>
            </label>
            <label class="item item-input">
                <span class="input-label">联系方式</span>
                <input type="tel" ng-model="publicData.userInfo.mobile">
            </label>
        </div>
    </ion-content>
</ion-view>